import Model from "@/components/activiti/model/Model"
import RepelProcess from "@/components/activiti/model/children/RepelProcess"
import ProcessManager from '@/components/activiti/process/ProcessManager'
import ProcessNode from '@/components/activiti/process/children/ProcessNode'

//设置总路由
var context = '/activiti'

var activiRouters = [{
    path: context + '/act/model/index',
    name: "Model",
    component: Model,
    meta: {
        login: false,
    },
}, {
    path: context + '/act/model/repelProcess',
    name: "RepelProcess",
    component: RepelProcess,
    meta: {
        login: false
    },
}, {
    path: context + '/act/process/index',
    name: "ProcessManager",
    component: ProcessManager,
    meta: {
        login: false
    }
}, {
    path: context + '/act/process/nodeEdit',
    name: "ProcessNode",
    component: ProcessNode,
    meta: {
        login: false
    }
},]
export default {
    getRouter() {
        return activiRouters;
    }
}